package culaocham.sinhvat.form;

import java.util.ArrayList;

import javax.servlet.http.HttpServletRequest;

import model.bean.DongVatModel;
import model.bean.ThucVatModel;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class UserForm extends ActionForm {
	private static String user;
	private static String password;
	// List model thuc vat
	private ArrayList<ThucVatModel> listThucVatModel = new ArrayList<ThucVatModel>();
	// List model thuc vat
	private ArrayList<DongVatModel> listDongVatModel = new ArrayList<DongVatModel>();

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		UserForm.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		UserForm.password = password;
	}

	public ArrayList<ThucVatModel> getListThucVatModel() {
		return listThucVatModel;
	}

	public void setListThucVatModel(ArrayList<ThucVatModel> listThucVatModel) {
		this.listThucVatModel = listThucVatModel;
	}

	public ArrayList<DongVatModel> getListDongVatModel() {
		return listDongVatModel;
	}

	public void setListDongVatModel(ArrayList<DongVatModel> listDongVatModel) {
		this.listDongVatModel = listDongVatModel;
	}

	@Override
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
		super.reset(mapping, request);
	}

}
